//
//  JHSVideoButton.swift
//  JHSVideo
//
//  Created by 阿飞 on 2020/12/23.
//

import UIKit

class JHSVideoButton: UIButton {

      override init(frame: CGRect) {
          super.init(frame: frame)
          initUI()
      }
      
      required init?(coder aDecoder: NSCoder) {
          super.init(coder: aDecoder)
          initUI()
      }
      
      func initUI() {
          self.titleLabel?.font   = UIFont.systemFont(ofSize: 12)
          self.layer.cornerRadius = 2
          self.layer.borderWidth  = 1
          self.layer.borderColor  = UIColor(white: 1, alpha: 0.8).cgColor
          self.setTitleColor(UIColor(white: 1, alpha: 0.9), for: .normal)
      }

}
